package com.wzdigit.wms.basic.domain.qms;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.wzdigit.framework.orm.model.BasicDomain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 检验单送检产品明细
 * </p>
 *
 * @author 
 * @since 2021-08-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("QMS_OQC_RCARD")
@KeySequence(value = "QMS_OQC_RCARD_SEQ", clazz = Integer.class)
public class QmsOqcRcard extends BasicDomain {

    private static final long serialVersionUID = 1L;

    @TableId(value = "OQC_RCARD_ID", type = IdType.INPUT)
    private Integer oqcRcardId;

    /**
     * OQCID
     */
    @TableField("OQC_ID")
    private Integer oqcId;

    /**
     * OQC
     */
    @TableField("OQC")
    private String oqc;

    /**
     * 工单ID
     */
    @TableField("WORK_ORDER_ID")
    private Integer workOrderId;

    /**
     * 工单号
     */
    @TableField("WORK_ORDER_CODE")
    private String workOrderCode;

    /**
     * 产品RCARDID
     */
    @TableField("RCARD_ID")
    private Integer rcardId;

    /**
     * 产品条码SN
     */
    @TableField("RCARD_NO")
    private String rcardNo;

    /**
     * 产品装箱箱ID
     */
    @TableField("PKG_ID")
    private Integer pkgId;

    /**
     * 产品装箱箱号
     */
    @TableField("PKG_NO")
    private String pkgNo;

    /**
     * 送检工序ID
     */
    @TableField("PROCEDURE_ID")
    private Integer procedureId;

    /**
     * 送检工序编码
     */
    @TableField("PROCEDURE_CODE")
    private String procedureCode;

    /**
     * 样本标识
     */
    @TableField("IS_SAMPLE")
    private Integer isSample;

    /**
     * 检验状态
     */
    @TableField("STATUS")
    private Integer status;

    /**
     * 检验开始时间
     */
    @TableField("INSP_BEGIN_TIME")
    private Date inspBeginTime;

    /**
     * 检验结束时间
     */
    @TableField("INSP_END_TIME")
    private Date inspEndTime;

    /**
     * 备注
     */
    @TableField("REMARK")
    private String remark;

}
